<!DOCTYPE html>
<html ng-app="sc_shop_app">

<head>
  <meta charset="utf-8">
  <title>意见反馈列表</title>
  <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">

  <link rel="stylesheet" href="../js/mui/css/mui.min.css">
  <link rel="stylesheet" href="../css/main.css">
  <link href="../nightly/css/ionic.css" rel="stylesheet">
  <!--App自定义的css-->
  <link rel="stylesheet" type="text/css" href="../js/mui/css/app.css" />
  <link href="../js/mui/css/mui.picker.css" rel="stylesheet" />
  <link href="../js/mui/css/mui.poppicker.css" rel="stylesheet" />
  <!--<link rel="stylesheet" type="text/css" href="../css/mui.picker.min.css" />-->
  <link href="../js/alertifyjs/css/alertify.css" rel="stylesheet">

  <script src="../js/mui/js/mui.min.js"></script>
  <script src="../js/allJs.js"></script>
  <style>
    .notice-list-desc {
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
      display: block;
    }
    
    .padding-content {
      top: 6em;
      padding-left: 0;
      padding-right: 0;
      background: #ddd;
    }
  </style>
</head>


<body>

  <ion-view><!--SuggestionListCtrl-->
    <header class="mui-bar mui-bar-nav">
      <a id="suggestionBack" class="suggestion-back mui-icon mui-icon-left-nav"></a>
      <h1 class="mui-title">意见反馈列表</h1>
      <button id="suggestion_add" class=" mui-pull-right mui-btn-link">添加</button>
    </header>
    <ion-content class="padding-content notice-list-content" ng-controller="suggestionContr">
      <ul class="list">
        <li class="list-item" ng-repeat="item in suggestion_list">
          <div ng-click="openDetail(item.id,item.createTime)">
            <div class="opinion-list-title">
              <div class="opinion-list-title-right" style="font-size:75%;">{{item.createTime}}</div>
              <div class="opinion-list-title-left" ng-if="item.status ==1" style="font-size:110%;"><span>您已提交的内容:</span></div>
              <div class="opinion-list-title-left" ng-if="item.status ==2" style="font-size:110%;"><span>得到回复的内容：</span></div>
              <div class="opinion-list-title-left" ng-if="item.status ==0" style="font-size:110%;"><span>已取消内容为：</span></div>
            </div>
            <div ng-show="item.status==2" class="notice-list-desc" style="font-size:150%;color:#999;">{{item.handleContent}}</div>
            <div ng-show="item.status!=2" class="notice-list-desc" style="font-size:150%;color:#999;">{{item.content}}</div>

          </div>
        </li>
      </ul>
    </ion-content>
  </ion-view>

</body>